package foo.workLlog.vo;

import java.util.Date;

import foo.websystem.action.Consts;

public class WorkLogVvo {

	protected Integer workLogSn;
	protected Date workDate;
	protected String worker;
	protected Integer hr;
	protected Integer wbsSn;
	public Integer getWbsSn() {
		return wbsSn;
	}

	public void setWbsSn(Integer wbsSn) {
		this.wbsSn = wbsSn;
	}

	protected String wbsName;
	protected String projName;
	protected String wbsTypeDscr;
	protected String workLogContent;
	protected String workDateStr;

	public Integer getHr() {
		return hr;
	}

	public String getProjName() {
		return projName;
	}

	public String getWbsName() {
		return wbsName;
	}

	public String getWbsTypeDscr() {
		return wbsTypeDscr;
	}

	public Date getWorkDate() {
		return workDate;
	}

	public String getWorkDateStr() {
		return workDateStr;
	}

	public String getWorker() {
		return worker;
	}

	public String getWorkLogContent() {
		return workLogContent;
	}

	public void setHr(Integer hr) {
		this.hr = hr;
	}

	public void setProjName(String projDscr) {
		this.projName = projDscr;
	}

	public void setWbsName(String dscr) {
		this.wbsName = dscr;
	}

	public void setWbsTypeDscr(String wbsTypeDscr) {
		this.wbsTypeDscr = wbsTypeDscr;
	}

	public void setWorkDate(Date workDate) {
		this.workDate = workDate;
		try {
			if (this.workDate != null) {
				this.workDateStr = Consts.DATE_FORMATER.format(workDate);
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public void setWorker(String worker) {
		this.worker = worker;
	}

	public Integer getWorkLogSn() {
		return workLogSn;
	}

	public void setWorkLogSn(Integer wbsSn) {
		this.workLogSn = wbsSn;
	}

	public void setWorkLogContent(String content) {
		this.workLogContent = content;
	}

}
